package com.china08.yxyapi.repository.mg.esbag;

import org.springframework.data.mongodb.repository.MongoRepository;

import com.china08.yxyapi.entity.mg.esbag.YxyEsbagTeachingNoteTaking;

public interface YxyEsbagTeachingNoteTakingRepository extends MongoRepository<YxyEsbagTeachingNoteTaking, String> {

    YxyEsbagTeachingNoteTaking findByTeacherIdAndSchoolIdAndPackIdAndClassIdOrderByCreatedDate(String userId,
            String schoolId, String id, String classId);

    YxyEsbagTeachingNoteTaking findById(String string);

}
